package ooday05.demo;

import java.util.stream.Stream;

public enum Star {
    WYF("吴亦凡","蹲监狱"),
    CXK("蔡徐坤","打篮球"),
    JJF("蒋劲夫","跳舞"),
    LZX("罗志祥","唱歌");
    private String name;
    private String hobby;
    Star(String name, String hobby){
        this.name=name;
        this.hobby=hobby;
    }

    public String getname() {
        return name;
    }

    public void setname(String name) {
        this.name = name;
    }

    public String gethobby() {
        return hobby;
    }

    public void sethobby(String hobby) {
        this.hobby = hobby;
    }
}
